package com.example.combwyaq.mvp.contract;

import com.example.combwyaq.mvp.model.IModel;
import com.example.combwyaq.mvp.model.entity.BaseEntity;
import com.example.combwyaq.mvp.viwe.IView;
import com.example.combwyaq.visualinterface.user.entity.UploadFileEntity;

import java.util.Map;

import io.reactivex.Observable;

public class UserDetailsContract {

    public interface IUserDetailsModel extends IModel{
        Observable<BaseEntity>requestUser(Map<String,Object>map);
        Observable<BaseEntity>updateUser(Map<String,Object>map);
        Observable<UploadFileEntity>uploadHead(Map<String,Object>map);
    }

    public interface IUserDetailsView extends IView{
        void refreshView(BaseEntity entity);
    }
}
